try {
	Type.registerNamespace('SCArriveInScanVO');
	//委外到货入库扫描表VO
	SCArriveInScanVO = function() {};
	SCArriveInScanVO.prototype = new NCMMPubUtil.SuperVO();
	SCArriveInScanVO.PK_SCAN = {
		name: "pk_scan",
		type: NCMMPubUtil.VALUE_TYPE_TEXT
	};
	//委外到货单主键**
	SCArriveInScanVO.PK_HEAD = {
		name: "pk_head",
		type: NCMMPubUtil.VALUE_TYPE_TEXT
	};
	//单号
	SCArriveInScanVO.VBILLCODE = {
		name: "vbillcode",
		type: NCMMPubUtil.VALUE_TYPE_TEXT
	};
	//单据日期
	SCArriveInScanVO.DBILLDATE = {
		name: "dbilldate",
		type: NCMMPubUtil.VALUE_TYPE_TEXT
	};
	//采购部门
    SCArriveInScanVO.PK_DEPT_NAME = {
        name: "pk_dept_name",
        type: NCMMPubUtil.VALUE_TYPE_TEXT
    };
	//委外到货单明细**
	SCArriveInScanVO.PK_ITEM = {
		name: "pk_item",
		type: NCMMPubUtil.VALUE_TYPE_TEXT
	};
	//物料名称
	SCArriveInScanVO.MATERIALNAME = {
		name: "materialname",
		type: NCMMPubUtil.VALUE_TYPE_TEXT
	};
	//可入库主数量
	SCArriveInScanVO.NNUM = {
		name: "nnum",
		type: NCMMPubUtil.VALUE_TYPE_TEXT
	};
	//可入库数量
	SCArriveInScanVO.NASTNUM = {
		name: "nastnum",
		type: NCMMPubUtil.VALUE_TYPE_TEXT
	};
	//辅单位
	SCArriveInScanVO.CASTUNITID = {
		name: "castunitid",
		type: NCMMPubUtil.VALUE_TYPE_TEXT
	};
	//辅单位名称
    SCArriveInScanVO.CASTUNITID_NAME = {
        name: "castunitid_name",
        type: NCMMPubUtil.VALUE_TYPE_TEXT
    };
    //换算率
     SCArriveInScanVO.VCHANGERATE = {
        name: "vchangerate",
        type: NCMMPubUtil.VALUE_TYPE_TEXT
    };
		//物料
	SCArriveInScanVO.PK_MATERIAL = {
		name: "pk_material",
		type: NCMMPubUtil.VALUE_TYPE_TEXT
	};

	//表头ts
	SCArriveInScanVO.HTS = {
		name: "hts",
		type: NCMMPubUtil.VALUE_TYPE_TEXT
	};
	
	//供应商名称
	SCArriveInScanVO.PK_SUPPLIER_NAME = {
		name: "pk_supplier_name",
		type: NCMMPubUtil.VALUE_TYPE_TEXT
	};
	//供应商
	SCArriveInScanVO.PK_SUPPLIER = {
		name: "pk_supplier",
		type: NCMMPubUtil.VALUE_TYPE_TEXT
	};
	//收货仓库**
	SCArriveInScanVO.PK_RECEIVESTORDOC = {
		name: "pk_receivestordoc",
		type: NCMMPubUtil.VALUE_TYPE_TEXT
	};
	//收货仓库名称**
	SCArriveInScanVO.PK_RECEIVESTORDOC_NAME = {
		name: "pk_receivestordoc_name",
		type: NCMMPubUtil.VALUE_TYPE_TEXT
	};
	//规格
	SCArriveInScanVO.MATERIALSPEC = {
		name: "materialspec",
		type: NCMMPubUtil.VALUE_TYPE_TEXT
	};
	//型号
	SCArriveInScanVO.MATERIALTYPE = {
		name: "materialtype",
		type: NCMMPubUtil.VALUE_TYPE_TEXT
	};
	//物料简称
	SCArriveInScanVO.MATERIALSHORTNAME = {
		name: "materialshortname",
		type: NCMMPubUtil.VALUE_TYPE_TEXT
	};
	
	//物料编码
	SCArriveInScanVO.MATERIALCODE = {
		name: "materialcode",
		type: NCMMPubUtil.VALUE_TYPE_TEXT
	};
	
	//表体ts
	SCArriveInScanVO.BTS = {
		name: "bts",
		type: NCMMPubUtil.VALUE_TYPE_TEXT
	};
	
	//主单位
	SCArriveInScanVO.CUNITID = {
		name: "cunitid",
		type: NCMMPubUtil.VALUE_TYPE_TEXT
	};
	//主单位名称
    SCArriveInScanVO.CUNITID_NAME = {
        name: "cunitid_name",
        type: NCMMPubUtil.VALUE_TYPE_TEXT
    };	
	//批次号编码
	SCArriveInScanVO.VBATCHCODE = {
		name: "vbatchcode",
		type: NCMMPubUtil.VALUE_TYPE_TEXT
	};
	//批次号
	SCArriveInScanVO.PK_BATCHCODE = {
		name: "pk_batchcode",
		type: NCMMPubUtil.VALUE_TYPE_TEXT
	};
	//扫描主数量
	SCArriveInScanVO.NSCANNUM = {
		name: "nscannum",
		type: NCMMPubUtil.VALUE_TYPE_TEXT
	};
	//扫描数量
	SCArriveInScanVO.NSCANASTNUM = {
		name: "nscanastnum",
		type: NCMMPubUtil.VALUE_TYPE_TEXT
	};
	//行号
	SCArriveInScanVO.CROWNO = {
		name: "crowno",
		type: NCMMPubUtil.VALUE_TYPE_TEXT
	};
	//供应商批次号
	SCArriveInScanVO.BC_VVENDBATCHCODE = {
		name: "bc_vvendbatchcode",
		type: NCMMPubUtil.VALUE_TYPE_TEXT
	};
	//货位
	SCArriveInScanVO.PK_RACK = {
		name: "pk_rack",
		type: NCMMPubUtil.VALUE_TYPE_TEXT
	};
	//货位名称
	SCArriveInScanVO.PK_RACK_NAME = {
		name: "pk_rack_name",
		type: NCMMPubUtil.VALUE_TYPE_TEXT
	};
	//序列号
	SCArriveInScanVO.VSERIALCODE = {
		name: "vserialcode",
		type: NCMMPubUtil.VALUE_TYPE_TEXT
	};
	//采购员**
	SCArriveInScanVO.PK_PUPSNDOC = {
		name: "pk_pupsndoc",
		type: NCMMPubUtil.VALUE_TYPE_TEXT
	};
	//**
	SCArriveInScanVO.PK_PUPSNDOC_NAME = {
		name: "pk_pupsndoc_name",
		type: NCMMPubUtil.VALUE_TYPE_TEXT
	};
	//计划到货日期
	SCArriveInScanVO.DPLANRECEIVEDATE = {
		name: "dplanreceivedate",
		type: NCMMPubUtil.VALUE_TYPE_TEXT
	};
	SCArriveInScanVO.prototype.getAllAttrs = function() {
		return [
		    SCArriveInScanVO.PK_SCAN,
			SCArriveInScanVO.PK_HEAD,
			SCArriveInScanVO.PK_ITEM,
			SCArriveInScanVO.MATERIALNAME,
			SCArriveInScanVO.NNUM,
			SCArriveInScanVO.NASTNUM,
			SCArriveInScanVO.VBILLCODE,
			SCArriveInScanVO.DBILLDATE,
			SCArriveInScanVO.HTS,
			SCArriveInScanVO.PK_SUPPLIER_NAME,
			SCArriveInScanVO.PK_RECEIVESTORDOC,
			SCArriveInScanVO.PK_RECEIVESTORDOC_NAME,
			SCArriveInScanVO.PK_MATERIAL,
			SCArriveInScanVO.MATERIALSPEC,
			SCArriveInScanVO.MATERIALTYPE,
			SCArriveInScanVO.MATERIALSHORTNAME,
			SCArriveInScanVO.MATERIALCODE,
			SCArriveInScanVO.PK_DEPT_NAME,
			SCArriveInScanVO.BTS,
			SCArriveInScanVO.CASTUNITID,
			SCArriveInScanVO.CASTUNITID_NAME,
			SCArriveInScanVO.CUNITID,
			SCArriveInScanVO.CUNITID_NAME,
			SCArriveInScanVO.VCHANGERATE,
			SCArriveInScanVO.VBATCHCODE,
			SCArriveInScanVO.PK_BATCHCODE,
			SCArriveInScanVO.NSCANNUM,
			SCArriveInScanVO.NSCANASTNUM,
			SCArriveInScanVO.CROWNO,
			SCArriveInScanVO.BC_VVENDBATCHCODE,
			SCArriveInScanVO.PK_RACK,
			SCArriveInScanVO.PK_RACK_NAME,
			SCArriveInScanVO.VSERIALCODE,
			SCArriveInScanVO.PK_PUPSNDOC,
			SCArriveInScanVO.PK_PUPSNDOC_NAME,
			SCArriveInScanVO.DPLANRECEIVEDATE		
		];
	};
	SCArriveInScanVO.prototype.getTableName = function() {
		return "sc_arrivein_scan";
	};
	SCArriveInScanVO.prototype.getPrimaryAttr = function() {
		return SCArriveInScanVO.PK_SCAN;
	};

} catch(e) {
	$e(e);
}